package com.oracle.pojo;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class Major implements Serializable {
    @TableId
    private int majorId;

    private String majorName;

    public int getMajorId() {
        return majorId;
    }

    public void setMajorId(int majorId) {
        this.majorId = majorId;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName == null ? null : majorName.trim();
    }
}